/*
Copyright (c) 2008, Oleg S. Estekhin
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice,
      this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
    * Neither the name of the copyright holders nor the names of its
      contributors may be used to endorse or promote products derived from this
      software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

package ebml.viewer;

import java.util.ListResourceBundle;

/** The default resource bundle. */
public final class Resources extends ListResourceBundle {

    private static final Object[][] CONTENTS = {
            {"f.application.name", "EBML Viewer"},

            {"a.ok.name", "OK"},
            {"a.cancel.name", "Cancel"},

            {"m.file.name", "File"},

            {"a.exit.name", "Exit"},
            {"a.exit.desc", "Quit EBML Viewer"},

            {"a.open.name", "Open File..."},
            {"a.open.desc", "Open file"},

            {"tree.structure.file", "{0}"},
            {"tree.structure.element", "{1} (0x{0}, {2}) [{3}]"},
            {"tree.structure.valueElement", "{1} (0x{0}, {2}) [{3}] = {4}"},
            {"tree.structure.unknownElement", "unknown (0x{0}) [{1}]"},
            {"tree.structure.skippedElement", "{1} (0x{0}, {2}) [{3}] (contents skipped)"},
            {"tree.structure.exception", "{0}"},

            {"a.parse.name", "Parse File..."},
            {"a.parse.desc", "Parse file"},

            {"filter.matroska.name", "Matroska Files"},

            {"m.edit.name", "Edit"},

            {"a.elementList.name", "Element List"},
            {"a.elementList.desc", "Edit the list of known files"},

            {"tab.elementList.name", "Elements"},

            {"table.elementList.source", "Source"},
            {"table.elementList.identifier", "Identifier"},
            {"table.elementList.name", "Name"},
            {"table.elementList.type", "Type"},
            {"table.elementList.loadContents", "Contents"},

            {"m.view.name", "View"},
            {"m.analyse.name", "Analyse"},

            {"a.fileList.name", "File List"},
            {"a.fileList.desc", "Display the list of processed files"},

            {"tab.fileList.name", "Files"},

            {"table.fileList.id", "ID"},
            {"table.fileList.file", "File"},
            {"table.fileList.size", "Size"},
            {"table.fileList.status", "Status"},

            {"parsing.waiting", "Waiting"},
            {"parsing.loading", "Loading: {0,number,percent}"},
            {"parsing.complete", "Complete"},

            {"a.typeStats.name", "Type Statistics"},
            {"a.typeStats.desc", "Display type statistics"},

            {"tab.typeStats.name", "Type Statistics"},

            {"table.typeStats.type", "Type"},
            {"table.typeStats.identifierCount", "Identifiers"},
            {"table.typeStats.instanceCount", "Instances"},
            {"table.typeStats.totalSize", "Total Value Size"},
            {"table.typeStats.averageSize", "Average Value Size"},

            {"a.elementStats.name", "Element Statistics"},
            {"a.elementStats.desc", "Display element statistics"},

            {"tab.elementStats.name", "Element Statistics"},

            {"table.elementStats.identifier", "Identifier"},
            {"table.elementStats.name", "Name"},
            {"table.elementStats.type", "Type"},
            {"table.elementStats.instanceCount", "Count"},
            {"table.elementStats.totalSize", "Total Value Size"},
            {"table.elementStats.averageSize", "Average Value Size"},

            {"elementType.unknown", "unknown"},

            {"a.inspections.name", "Inspections"},
            {"a.inspections.desc", "Display data inspections"},

            {"tab.inspections.name", "Inspections"},

            {"tree.inspections.root", "Inspections"},
            {"tree.inspections.elementSize", "Element Size"},
            {"tree.inspections.inefficientEncoding", "Inefficient Encoding"},
            {"tree.inspections.affectedInstances", "number of affected instances: {0,number,integer} elements"},
            {"tree.inspections.unaffectedInstances", "number of unaffected instances: {0,number,integer} elements"},
            {"tree.inspections.mostEfficientEncodingSize", "size change if encoded most efficiently: {0,number,integer} bytes"},
            {"tree.inspections.signedIntegerEncoding", "Signed Integer Encoding"},
            {"tree.inspections.signedIntegerEncodingSize", "size change if encoded as a signed integer: {0,number,integer} bytes"},
            {"tree.inspections.utf8nfcEncoding", "UTF8 Encoding, normalization form C"},
            {"tree.inspections.utf8nfcEncodingSize", "size change if encoded as an UTF-8 NFC: {0,number,integer} bytes"},
            {"tree.inspections.dateToSecondsPrecisionLoss", "total loss of precision if encoded as a signed number of seconds: {0,number,integer} nanoseconds"},
            {"tree.inspections.dateToSecondsEBML", "size change if encoded as a signed number of seconds from the EBML Epoch (2001-01-01T00:00:00): {0,number,integer} bytes"},
            {"tree.inspections.dateToSecondsUnix", "size change if encoded as a signed number of seconds from the Unix Epoch (1970-01-01T00:00:00): {0,number,integer} bytes"},
    };


    @Override
    protected Object[][] getContents() {
        return CONTENTS;
    }

}
